# 列表的定义
a = [3,4,2.3,"tom",[6,7,8],(9,10,11)]
b = list("asdkjads")
# print(a[1])
# print(a[-1][1])
# print(a[4][1])
# print(b[4])
# print(type(a[4]))
# a.append('lily')
# print(a)
# a.insert(3,'home')
# print(a)

# 将b列表合并到a列表中
# a.extend(b)
# print(a)
# b.extend(a)
# print(b)

# 删 del pop()  remove clear
# del (a[1])
# print(a)
# del (a[4][2])
# print(a)
# del (a[15])
# print(a)
# em=a.pop(3)
# print(a)
# print(em)
# a.remove("tom")
#  print(a)
# a.remove("gom")
#  print(a)
# a.clear()
# print(a)
# a[3]="张三"
# print(a)
# a[20]="张三"
# print(a)